/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.interfaces;

import br.com.deployment.entidade.registroimovel.Averbacao;
import br.com.deployment.entidade.registroimovel.Imovel;
import br.com.deployment.exception.CartorioException;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author luciano
 */
@Remote
public interface AverbacaoDaoIn{
   
    public void save(Averbacao entity);

    public void delete(Averbacao entity);

    public Averbacao update(Averbacao entity);

    public Averbacao find(int entityID);

    public List<Averbacao> findAll();

    public List<Averbacao> findAverbacao(Averbacao averbacao);
    
    public Boolean exist(int id) throws CartorioException;
    
    public Averbacao findUltima(Imovel imovel);
    
    public List<Averbacao> findAverImovel(Imovel imovel, String order);
}
